package org.kugua.enums;

import lombok.Getter;

/**
 * 验证码字符颜色-枚举类
 *
 * @author 苦瓜
 * @create 2024/9/10 21:25
 * @since 1.0.0
 */
@Getter
public enum ColorEnum {

    BLUE(0, 135, 255),
    GREEN(51, 153, 51),
    MEDIUM_BLUE(0, 0, 205),
    AQUA(0, 255, 255),
    PINK(255, 102, 102),
    YELLOW(255, 153, 0),
    BROWN(153, 102, 0),
    PURPLE(153, 102, 153),
    MEDIUM_AQUA_MARINE(51, 153, 153),
    ROYAL_BLUE(102, 102, 255),
    DEEP_BLUE(0, 102, 204),
    RED(204, 51, 51),
    TOMATO(255, 97, 71),
    SIENNA(160, 82, 45),
    ORANGE(255, 165, 0),
    DARK_GREEN(0, 100, 0),
    SEA_GREEN(46, 139, 87),
    DARK_CYAN(0, 139, 139);

    private final Integer r;

    private final Integer g;

    private final Integer b;

    ColorEnum(Integer r, Integer g, Integer b) {
        this.r = r;
        this.g = g;
        this.b = b;
    }

}
